/* 自动配置安全证书 */
package main

import (
	"github.com/gin-gonic/autotls"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	r.GET("/index", func(c *gin.Context) {
		c.String(200, "OK")
	})

	autotls.Run(r, "www.baidu.com")

}
